class Sungjuk_6_8_1{
	public String hakbun;
	public String name;
	public int jumsu;
}
class Sungjuk_6_8_2{
	private String hakbun;
	private String name;
	private int jumsu;
	public void set_hakbun(String h) { hakbun = h;}
	public void set_name(String n) {name=n;}
	public void set_jumsu(int j) {jumsu = j;}
	public void dsp_all(){
		System.out.println(hakbun + " " + name + " " + jumsu);
	}
} 
class Sungjuk_6_8_3{
	protected String hakbun;
	protected String name;
	protected int jumsu;
	
}
class Sungjuk_6_8_4{
	String hakbun;
	String name;
	int jumsu;
}
class ex_6_8 extends Sungjuk_6_8_3{
	public static void main(String[] args){
		Sungjuk_6_8_1 t1 = new Sungjuk_6_8_1();
		t1.hakbun="20052426";
		t1.name="장수은";
		t1.jumsu=84;
		
		Sungjuk_6_8_2 t2 = new Sungjuk_6_8_2();
		t2.set_hakbun("20052426");
		t2.set_name("장수은2");
		t2.set_jumsu(89);
		
		Sungjuk_6_8_3 t3 = new Sungjuk_6_8_3();
		t3.hakbun="20052426";
		t3.name="장수은3";
		t3.jumsu=89;
		
		Sungjuk_6_8_4 t4 = new Sungjuk_6_8_4();
		t4.hakbun="20052426";
		t4.name="장수은4";
		t4.jumsu=89;
		
		System.out.println("****    접근 한정자 및 변수의 유효범위      ****");
		System.out.println("****        정보통신전자공학부         ****");
		System.out.println("****         20052426 장수은         ****");
		
		System.out.println(t1.hakbun + " " + t1.name + " " + t1.jumsu);
		t2.dsp_all();
		System.out.println(t3.hakbun + " " + t3.name + " " + t3.jumsu);
		System.out.println(t4.hakbun + " " + t4.name + " " + t4.jumsu);
		
	}
}